package cn.com.surker.enums.production;

import cn.com.surker.enums.IDescription;

/**
 * @Author lucky
 * @create 2022年06月06 15:32
 * @desc 高德导航策略枚举
 */
public enum StrategyEnum implements IDescription {

    SPEED(0,"速度优先"), HIGH_SPEED(19,"高速优先"),
    JAM(4,"躲避拥堵"), NO_HIGH_SPEED(1, "不走高速"),
    DISTANCE(2, "距离优先");

    private final String description;

    private final Integer code;

    StrategyEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    @Override
    public String getDescription() {
        return description;
    }

    public Integer getCode() {return code;}
}